*Figure 7:  Provision Importance by Agreement Levels: All Democracies


use "Data_ImportantProvisions_240423.dta", clear

egen agreement_general = rowsd(general_*_num)

*Scatter plot of agreement vs importance
*General
preserve
replace mean_general = mean_general + 0.015 if cat1 == "Special Sections"
replace mean_general = mean_general + 0.015 if cat1 == "Principles and Symbols"

collapse (mean) mean_general agreement_general, by(cat1)
scatter mean_general agreement_general, mcolor(maroon) msize(3) xtitle("Disagreement (Standard Deviation)") ytitle("Mean Importance") mlabel(cat1) mlabcolor(black) xlabel(0.8(0.05)1.15) mlabsize(2) mlabpos(6) title("Provision Importance by Agreement Levels: All Democracies")
graph export "Figure_7.pdf", replace
restore
